Language Makefiles

SNiFF+'s Language Makefiles are located in your

$SNIFF_DIR/make_support directory. For details about Language Makefiles, please refer to Language Makefiles -- details.
Language Makefiles define the language-specific macros and rules needed to build the targets of a project. For details about the macros and rules, please refer directly to the Language Makefiles.
Each language file type has an attribute called General Makefile, which specifies the Language Makefile associated with the file type. SNiFF+'s Make Support uses this information to automatically include the correct Language Makefile in the Include file Make Support File.
You can use SNiFF+'s default settings for the Language Makefiles it provides, or you can specify your own:

- You can associate more than one Language Makefile to a file type. For example, SNiFF+ associates both yacc and C Language Makefiles with the Yacc Source file type. So, when you build targets from yacc source files, rules for compiling both yacc and C sources are made available to your Make utility.
- Since all the rules and macros for a given language are contained in a single Language Makefile, finding and adapting these rules to your exact environment is easy.
- You can write your own Language Makefiles and use them for all your SNiFF+ projects or only for selected projects.

To learn how to specify your own Language Makefiles, please refer to Specifying Language Makefiles:.

| Note
| SNiFF+'s Language Makefiles extensively use macros defined by SNiFF+'s Make Support. Therefore, if you intend to create your own language-specific Make rules, please use SNiFF+'s Language Makefiles as templates.